Java Platform Invoke SDK for Linux (Trial version)

1. Demo code modification
-------------------------

This product developed in Gentoo Linux and compiled with i686-pc-linux-gnu compiler. The Demo code uses GTK-2.x and C runtime libraries libc and libm for calls functions from them. In different Linux versions these libraries name can vary. In this example they are "libc.so.6" and "libm.so.6". To run the Demo code you should set right shared library module names for libc and libm in Demo classes:

demo.compose.system.Libcm,
demo.compose.system.Libcrt.

Then rebuild the Demo JAR by running ANT package build.xml or with any Java IDE. Do not forget to include into Manifest entries:

Main-Class: demo.Main
Class-Path: cnatives.jar

2. Running Demo
---------------

1) Put files:
 
cnatives.jar,
cnatives.so,
cnativesDemo.jar,
cnativesTest.so

into the same directory.

2) Open Terminal Window and Call cd command to this dirrectory.

3) Execute Command:

java -jar cnativesDemo.jar

and respond to the program requests.

